package com.task.core.domain.info;

import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.List;
import java.util.Map;

import lombok.Data;

/**
 * @author 迪迦.
 * @date 2024/11/15 16:45
 */
@Data
public class DataImportProgress {

  private List<Map<String, Object>> result;

  public DataImportProgress(List<Map<String, Object>> result) {
    this.result = result;
  }

  //
  //private int allCount;
  //
  //private int importCount;
  //
  //private BigDecimal progress;
  //
  //public DataImportProgress(int allCount, int importCount) {
  //  this.allCount = allCount;
  //  this.importCount = importCount;
  //  //this.progress = new BigDecimal(importCount).divide(new BigDecimal(allCount), 3, RoundingMode.UP);
  //}
}
